import instance from "@/tools/axios";

const getVipPakagePagination = (params: any) => {
  return instance.get("/SysVipPackages/pagination", params);
};

const addVipPackage = (data: any) => {
  return instance.post("/SysVipPackages/Add", data);
};

const updateVipPackage = (data: any) => {
  return instance.post("/SysVipPackages/update", data);
};

const deleteVipPackage = (id: string) => {
  return instance.post("/SysVipPackages/delete", { id });
};

export {
  getVipPakagePagination,
  addVipPackage,
  updateVipPackage,
  deleteVipPackage,
};
